<template>
  <div class="component_wrap">
    <LssPagination :page-params="pageParams" @pagination="handlePagination" />
  </div>
</template>
<script setup lang="ts">
import { ref } from 'vue'
const pageParams = ref({
  page: 1,
  size: 10,
  total: 100
})

const handlePagination = (paginationData: { page: number; pageSize: number }) => {
  // 在这里可以发送数据请求或更新内部状态
  console.log('Pagination data:', paginationData)
}
</script>

<style lang="scss" scoped></style>
